package me.ilich.piet.interpreter.commands;

import me.ilich.piet.interpreter.Stack.Context;

public class NotCommand extends UnaryReplaceCommand {

	@Override
	protected int onUnaryReplace(Context context, int a) {
		int b = a!=0 ? 0 : 1;
		return b;
	}

}
